﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;

namespace IQKS.AWP.DataAccessLayer
{
  public  class EmailTemplateMasterDAL
    {
        public DataSet GetEmailTemplateMaster(params object[] param)
        {
            DataSet objDs;

            try
            {
                objDs = DataUtils.ExecuteDataset("Usp_GetEmailTemplateMaster", param);

            }
            catch (Exception exception)
            {
                throw new ApplicationException(exception.Message);
            }
            return objDs;
        }


        public object SetEmailTemplateMaster(params object[] param)
        {
            try
            {
                return DataUtils.ExecuteScalar("Usp_SetEmailTemplateMaster", param);
            }
            catch (Exception ex)
            {
                throw new ApplicationException(ex.Message);
            }
        }
        public DataSet GetActivityBindDAL(params object[] param)
        {
            try
            {
                return DataUtils.ExecuteDataset("Usp_GetActivityName", param);
            }
            catch (Exception ex)
            {
                throw new ApplicationException(ex.Message);
            }
        }

    }
}
